package com.hzg.ssm.service;

import com.hzg.ssm.domain.Department;
import com.hzg.ssm.query.PageResult;
import com.hzg.ssm.query.QueryObject;

import java.util.List;

/**
 * @ Description: TODO
 * @ Author: 卓哥
 * @ Date: 2020/7/5 18:45
 * @ Version: 1.0
 */
public interface IDepartmentService {
    void delete(Long id);

    void insert(Department department);

    Department select(Long id);

    List<Department> selectAll();

    void update(Department department);
//    pageResult
    PageResult<Department> query(QueryObject queryObject);
}
